package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import java.util.List;

/**
 * 应收表对象 alp_yingshou
 * 
 * @author zhangjun
 * @date 2020-02-14
 */
public class AlpYingshou extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 销售责任人一 */
    @Excel(name = "销售责任人一")
    private String salesmanFirst;

    /** 销售责任人二 */
    @Excel(name = "销售责任人二")
    private String salesmanSecond;

    /** 收款单位 */
    @Excel(name = "收款单位")
    private String collectionCompany;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String contractNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String contractName;

    /** 阶段名称 */
    @Excel(name = "阶段名称")
    private String stageName;

    /** 阶段id */
    @Excel(name = "阶段id")
    private Long stageId;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal contractMoney;

    private List<MonthDetail> monthDetails;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getStageId() {
        return stageId;
    }

    public void setStageId(Long stageId) {
        this.stageId = stageId;
    }

    public List<MonthDetail> getMonthDetails() {
        return monthDetails;
    }

    public void setMonthDetails(List<MonthDetail> monthDetails) {
        this.monthDetails = monthDetails;
    }

    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setSalesmanFirst(String salesmanFirst) 
    {
        this.salesmanFirst = salesmanFirst;
    }

    public String getSalesmanFirst() 
    {
        return salesmanFirst;
    }
    public void setSalesmanSecond(String salesmanSecond) 
    {
        this.salesmanSecond = salesmanSecond;
    }

    public String getSalesmanSecond() 
    {
        return salesmanSecond;
    }
    public void setCollectionCompany(String collectionCompany) 
    {
        this.collectionCompany = collectionCompany;
    }

    public String getCollectionCompany() 
    {
        return collectionCompany;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setContractName(String contractName) 
    {
        this.contractName = contractName;
    }

    public String getContractName() 
    {
        return contractName;
    }
    public void setStageName(String stageName) 
    {
        this.stageName = stageName;
    }

    public String getStageName() 
    {
        return stageName;
    }
    public void setContractMoney(BigDecimal contractMoney) 
    {
        this.contractMoney = contractMoney;
    }

    public BigDecimal getContractMoney() 
    {
        return contractMoney;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("department", getDepartment())
            .append("salesmanFirst", getSalesmanFirst())
            .append("salesmanSecond", getSalesmanSecond())
            .append("collectionCompany", getCollectionCompany())
            .append("customerName", getCustomerName())
            .append("contractNo", getContractNo())
            .append("contractName", getContractName())
            .append("stageName", getStageName())
            .append("contractMoney", getContractMoney())
            .toString();
    }
}
